package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 协议配置表-实体
 * @author zfsn
 * @date 2023-4-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "协议配置表", description = "")
@TableName("conf_protocol")
public class ConfProtocol extends Model<ConfProtocol> {

	/**
	 * null
	 */
	@ApiModelProperty(value = "", notes = "null")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 *
	 */
	@ApiModelProperty(value = "资源编码", notes = "")
	private String resourceCode;

	/**
	 *
	 */
	@ApiModelProperty(value = "协议ID", notes = "")
	private Integer protocolId;

	/**
	 *
	 */
	@ApiModelProperty(value = "协议资源名称", notes = "")
	private String name;

	/**
	 *
	 */
	@ApiModelProperty(value = "识别标示符", notes = "")
	private String regularExpressions;

	/**
	 *
	 */
	@ApiModelProperty(value = "是否可解码", notes = "")
	private Integer decoded;

	/**
	 * 0：否 1：是
	 */
	@ApiModelProperty(value = "确认状态", notes = "0：否 1：是")
	private Integer isStatus;

	/**
	 * 0：否 1：是
	 */
	@ApiModelProperty(value = "是否启动", notes = "0：否 1：是")
	private Integer whetherEnable;

	/**
	 *
	 */
	@ApiModelProperty(value = "启用时间", notes = "")
	private LocalDateTime enablingTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "资源类型", notes = "")
	private String resourceType;

	/**
	 *
	 */
	@ApiModelProperty(value = "依据代码", notes = "")
	private Integer basisCode;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建人", notes = "")
	private String createBy;

	/**
	 *
	 */
	@ApiModelProperty(value = "创建时间", notes = "")
	private LocalDateTime createTime;

	/**
	 *
	 */
	@ApiModelProperty(value = "修改人", notes = "")
	private String modifier;

	/**
	 *
	 */
	@ApiModelProperty(value = "修改时间", notes = "")
	private LocalDateTime modifierTime;

}
